﻿
Option Compare Binary
Option Infer On
Option Strict On
Option Explicit On

Imports DC_RackSLDE
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.ComponentModel.DataAnnotations
Imports System.Data.Objects.DataClasses
Imports System.Linq
Imports System.ServiceModel.DomainServices.Hosting
Imports System.ServiceModel.DomainServices.Server


'The MetadataTypeAttribute identifies tblLocationMetadata as the class
' that carries additional metadata for the tblLocation class.
<MetadataTypeAttribute(GetType(tblLocation.tblLocationMetadata))>  _
Partial Public Class tblLocation
    
    'This class allows you to attach custom attributes to properties
    ' of the tblLocation class.
    '
    'For example, the following marks the Xyz property as a
    ' required property and specifies the format for valid values:
    '    <Required()>
    '    <RegularExpression("[A-Z][A-Za-z0-9]*")>
    '    <StringLength(32)>
    '    Public Property Xyz As String
    Friend NotInheritable Class tblLocationMetadata
        
        'Metadata classes are not meant to be instantiated.
        Private Sub New()
            MyBase.New
        End Sub
        
        Public Property locAddress1 As String
        
        Public Property locAddress2 As String
        
        Public Property locBackupContact As String
        
        Public Property locCity As String
        
        Public Property locClientKey As Integer
        
        Public Property locClientName As String
        
        Public Property locComments As String
        
        Public Property locCompanyName As String
        
        Public Property locContact As String
        
        Public Property locCountry As String
        
        Public Property locFax As String
        
        Public Property locKey As Integer
        
        Public Property locLastEdit As String
        
        Public Property locLastUpdate As DateTime
        
        Public Property locMask As String
        
        Public Property locPhone As String
        
        Public Property locSiteId As String
        
        Public Property locState As String
        
        Public Property locSubnet As String
        
        Public Property locZip As Nullable(Of Integer)
        
        Public Property locZipP4 As Nullable(Of Integer)
        
        Public Property tblAttrLocations As EntityCollection(Of tblAttrLocation)
        
        Public Property tblClient As tblClient
    End Class
End Class

